package com.hhdys.service;

import java.util.List;

import com.hhdys.model.Department;

public interface DepartmentService {
	List<Department> showDepartments();

	String getDepartmentsJson();

	boolean addDeparment(int parentId, String name, String addUser);

	boolean delDepartment(int id);

	boolean EditDepartment(int id, String name, String modifyUser);
	
	String showDepartmentsJson();
	
	Department getDepartmentById(int id);
}
